//
//  GDChoosePictureView.h
//  GuiderHealth
//
//  Created by mo on 2020/9/3.
//  Copyright © 2020 YM&EF. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol GDChoosePictureViewDelegate <NSObject>

- (void)choosePicture:(UIImage *)image;

@end

@interface GDChoosePictureView : UIView

@property(nonatomic, strong) void(^choosePicture)(UIImage *image);

- (instancetype)initWithFrame:(CGRect)frame andDelegate:(id<GDChoosePictureViewDelegate>)responderDelegate;

- (void)takePhoto;

- (void)choosePhoto;

@end

NS_ASSUME_NONNULL_END
